﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="MessageReplacementKey"
    targetNamespace="http://tempuri.org/MessageReplacementKey.xsd"
    elementFormDefault="qualified"
    xmlns="http://tempuri.org/MessageReplacementKey.xsd"
    xmlns:mstns="http://tempuri.org/MessageReplacementKey.xsd"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
>
  <xs:element name="MailTemplates">
    <xs:complexType>
      <xs:sequence maxOccurs="1" minOccurs="1">
        <xs:element name="EventGroups">
          <xs:complexType>
            <xs:sequence maxOccurs="unbounded">
              <xs:element name="EventGroup">
                <xs:complexType>
                  <xs:sequence maxOccurs="unbounded">
                    <xs:element name="Event">
                      <xs:complexType>
                        <xs:sequence>
                          <xs:element name="Parameters" type="Params">
                          </xs:element>
                        </xs:sequence>
                        <xs:attribute name="EventName" type="xs:string" />
                        <xs:attribute name="EventDesc" type="xs:string" />
                      </xs:complexType>
                    </xs:element>
                  </xs:sequence>
                  <xs:attribute name="EventGroupName" type="xs:string" />
                  <xs:attribute name="EventGroupDesc" type="xs:string" />
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="GlobalParams" maxOccurs="1" type="Params" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>

  <xs:complexType name="Params">
    <xs:sequence maxOccurs="unbounded">
      <xs:element name="Parameter">
        <xs:complexType>
          <xs:attribute name="ParamName" type="xs:string"/>
          <xs:attribute name="ParamDesc" type="xs:string"/>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:schema>
